home *** CD-ROM | disk | FTP | other *** search
- rArt Class Headers
- fArtClassCmds.h
- i
- fCAboutBox.h
- x253878841,523732523
- c0,21
- aclass CAboutBox : public CDirector { // •• CW TCL: changed struct to class
- apublic: // •• CW TCL
- c23,38
- e
- fCArtClassApp.h
- x484941342,381310022
- c0,24
- aclass CArtClassApp : public CApplication { // •• CW TCL: changed to class
- c33,33
- apublic: // •• CW TCL
- c33,33
- c26,32
- a virtual ~CArtClassApp() // •• CW TCL: added destructor
- a { TCL_START_DESTRUCTOR } // •• CW TCL
- c2,2
- c34,42
- e
- fCArtClassDoc.h
- x394806202,162890368
- c0,23
- aclass CArtClassDoc : public CDocument { // •• CW TCL: changed to class declaration
- c27,27
- apublic: // •• CW TCL
- c25,30
- a virtual ~CArtClassDoc() { TCL_START_DESTRUCTOR } // •• CW TCL
- c31,44
- e
- fCCaption.h
- x410346203,455862479
- c0,21
- aclass CCaption : public CEditText { // •• CW TCL: changed struct to class, public inheritance
- c25,25
- apublic: // •• CW TCL
- c23,29
- c2,2
- a virtual ~CCaption() { TCL_START_DESTRUCTOR } // •• CW TCL
- c34,34
- c31,37
- e
- fCClearTask.h
- x325196288,227422032
- c0,16
- aclass CClearTask : public CPaintTask { // •• CW TCL: changed struct to class
- c20,20
- apublic: // •• CW TCL
- c18,22
- a virtual ~CClearTask() { TCL_START_DESTRUCTOR }
- c23,27
- e
- fCDragger.h
- x178058063,6339682
- c0,21
- aclass CDragger : public CPaintTask { // •• CW TCL
- apublic: // •• CW TCL
- c23,33
- a virtual ~CDragger() { TCL_START_DESTRUCTOR } // •• CW TCL
- c34,42
- e
- fCPaintPane.h
- x426889769,490392400
- c0,28
- aclass CPaintPane : public CBitMapPane { // •• CW TCL: changed from struct to class
- c30,30
- apublic: // •• CW TCL: added access control
- c31,39
- c43,43
- a virtual ~CPaintPane(); // •• CW TCL: added destructor
- c40,56
- e
- fCPaintTask.h
- x249267798,209453999
- c0,24
- aclass CPaintTask : public CMouseTask { // •• CW TCL
- apublic: // •• CW TCL
- c26,38
- e
- fCPatternsDir.h
- x246403847,272726416
- c0,22
- aclass CPatternsDir : public CTearOffMenu { // •• CW TCL
- apublic: // •• CW TCL
- c24,31
- a virtual ~CPatternsDir() { TCL_START_DESTRUCTOR } // •• CW TCL
- c32,36
- e
- fCSelectionRect.h
- x522509449,70438401
- c0,16
- aclass CSelectionRect : public CPaintTask { // •• CW TCL: changed struct to class
- apublic: // •• CW TCL
- c18,22
- a virtual ~CSelectionRect() { TCL_START_DESTRUCTOR } // •• CW TCL
- c23,26
- e
- fCToolPens.h
- x424483811,468308104
- c0,24
- aclass CToolPens : public CPaintTask { // •• CW TCL
- apublic: // •• CW TCL
- c26,31
- a virtual ~CToolPens() { TCL_START_DESTRUCTOR } // •• CW TCL
- c32,61
- e
- fCToolsDir.h
- x181379189,262412151
- c0,21
- aclass CToolsDir : public CTearOffMenu { // •• CW TCL: changed struct to class
- apublic: // •• CW TCL
- c23,28
- a virtual ~CToolsDir() { TCL_START_DESTRUCTOR } // •• CW TCL
- c29,32
- e
- fCToolShapes.h
- x3334544,55390425
- c0,24
- aclass CToolShapes : public CPaintTask { // •• CW TCL: changed to class with public inheritance
- c27,27
- apublic: // •• CW TCL
- c26,30
- a virtual ~CToolShapes() { TCL_START_DESTRUCTOR } // •• CW TCL
- c31,103
- e
- fCToolText.h
- x162940827,51053852
- c0,22
- aclass CToolText : public CPaintTask { // •• CW TCL
- apublic: // •• CW TCL
- c24,25
- a virtual ~CToolText() { TCL_START_DESTRUCTOR } // •• CW TCL
- c26,28
- e
- o
- rArt Class Sources
- fArt Class.cp
- i
- fCAboutBox.cp
- x431596759,470151938
- c0,27
- a//#include <LoMem.h> // •• CW TCL
- c29,56
- a itsWindow = new CWindow(WIND_ABOUT, TRUE, this);
- c58,75
- c77,77
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c76,86
- a TCL_START_DESTRUCTOR // •• CW TCL
- c87,94
- a// CDirector::~CDirector(); // •• CW TCL: automatically done
- a// CurDeactive = NULL; // TCL 1.1.3 3/11/93 MER; stray pending deactivate event
- a LMSetCurDeactive(NULL); // •• CW TCL: use proper calls
- c97,240
- e
- fCArtClassApp.cp
- x261940935,440818793
- c0,75
- aCArtClassApp::CArtClassApp() : CApplication(kExtraMasters, kRainyDayFund,
- a kCriticalBalance, kToolboxBalance)
- a // •• CW TCL: use constructor chain
- c77,81
- c84,84
- a MakeHelpers(); // •• CW TCL: need to help the helpers
- a// CApplication::IApplication( kExtraMasters, kRainyDayFund,
- a// kCriticalBalance, kToolboxBalance);
- c84,86
- a gScratchPad = new CBitMap(PNTG_WIDTH, PNTG_HEIGHT, TRUE);
- c88,117
- a TCL_END_CONSTRUCTOR; // •• CW TCL
- c117,147
- a itsToolsDir = new CToolsDir(this); // director for a tear-off tool menu
- a itsPatsDir = new CPatternsDir(this); // tear-off Patterns menu
- c150,361
- e
- fCArtClassDoc.cp
- x443742481,354737764
- c0,60
- c72,72
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c88,88
- c63,63
- c66,66
- c91,91
- c65,196
- a theFile = new CPNTGFile; /* make a File object and read the */
- c198,245
- a itsWindow = new CWindow(WINDmyDoc, FALSE, this); /* create window object */
- c247,251
- a theScrollPane = new CScrollPane;
- c253,323
- a itsFile = new CPNTGFile(); /* make a new file object with the */
- c325,428
- e
- fCCaption.cp
- x482537360,25992725
- c0,19
- aTEClickLoopUPP TEClickLoopPtr = NewTEClickLoopProc(TEClickLoop);
- a // •• CW TCL
- c20,50
- a// SetClikLoop((TEClickLoopUPP) TEClickLoop, macTE); /* Use dummy click loop to disable */
- a// /* autoscrolling implemented in */
- a// /* an EditText pane */
- c58,58
- a TESetClickLoop(TEClickLoopPtr, macTE); // •• CW TCL: updated for proper UPP call
- c88,88
- c54,56
- c88,88
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c58,58
- c57,202
- e
- fCClearTask.cp
- x407177523,453184411
- c0,31
- a TCL_END_CONSTRUCTOR
- c32,104
- e
- fCDragger.cp
- x430041508,305973716
- c0,41
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c42,83
- a// gApplication->undone = FALSE; // •• CW TCL: not sure about this
- c85,317
- e
- fCPaintPane.cp
- x502571219,316315032
- c0,99
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c100,101
- aCPaintPane::~CPaintPane() // •• CW TCL: added destructor
- c103,103
- a TCL_START_DESTRUCTOR
- a ForgetObject(itsCaption); // •• CW TCL: was left dangling before
- c123,123
- c126,126
- c102,321
- a SetCursor(&qd.arrow); /* Mouse is outside the drawing */
- a // •• CW TCL: need to reference qd globals
- c323,626
- e
- fCPaintTask.cp
- x514772801,404289762
- c0,34
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c35,43
- aCPaintTask::~CPaintTask()
- c45,45
- a TCL_START_DESTRUCTOR // •• CW TCL
- c46,53
- a// CMouseTask::~CMouseTask(); /* Pass message on to superclass */
- a // •• CW TCL: done automatically
- c55,117
- e
- fCPatternsDir.cp
- x345871931,427888174
- c0,71
- c74,74
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c93,96
- c76,118
- e
- fCSelectionRect.cp
- x111367689,315266498
- c0,31
- c43,43
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c90,93
- c36,50
- a CopyRgn(qd.thePort->visRgn, oldVis); /* case we autoscroll */
- a // •• CW TCL: need to ref QD globals
- c52,85
- a PenPat(&qd.gray); /* Xor mode so pixels are flipped */
- a // •• CW TCL: need to ref QD globals
- c87,112
- e
- fCToolPens.cp
- x246605043,366127916
- c0,38
- c51,51
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c58,61
- c43,315
- a BlockMove(&qd.white, &thePenPat, 8);
- a // •• CW TCL: need to ref QD globals
- c317,320
- a BlockMove(&qd.black, &thePenPat, 8);
- a // •• CW TCL: need to ref QD globals
- c322,414
- e
- fCToolsDir.cp
- x427088337,509104581
- c0,74
- c77,77
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c77,77
- c96,99
- c79,110
- e
- fCToolShapes.cp
- x493347817,38493024
- c0,43
- c56,56
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c60,63
- c48,371
- e
- fCToolText.cp
- x494202685,39391924
- c0,32
- c44,44
- a TCL_END_CONSTRUCTOR // •• CW TCL
- c46,46
- c35,35
- c38,38
- c0,0
- c37,46
- e
- o
- o
-